package com.dcy;

import com.dcy.controller.AccountController;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Starter {
    public static void main(String[] args) {

        BeanFactory factory=new ClassPathXmlApplicationContext("spring03.xml");
        AccountController accountController = (AccountController) factory.getBean("accountController");
        accountController.test();
    }
}
